package org.ch00.test08.demo3;

/**
 * @author ZJL
 * @date 2025-03-04
 */
public class MainTest {
    public static void main(String[] args) {

        TieYuGate tieYuGate = new TieYuGate();
        PeachWoodDoor peachWoodDoor = new PeachWoodDoor();
        Thief thief = new Thief();

        thief.steal(tieYuGate);
        System.out.println("========================");
        thief.steal(peachWoodDoor);

        System.out.println("========================");
        TaoistMaster taoistMaster = new TaoistMaster();
        TaoMuSword taoMuSword = new TaoMuSword();
        taoistMaster.exorcise(taoMuSword);
        System.out.println("=========================");
        taoistMaster.exorcise(tieYuGate);

    }
}
